import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import home from './Home/Home'
import search from './Search/Search'
import detail from './Detail/Detail'
import shopCart from './Shopcart/Shopcart';
import user from './User/User';
import trade from './Trade/Trade';
import pay from './Pay/Pay';
export default new Vuex.Store({
  modules:{
    home,
    search,
    detail,
    shopCart,
    user,
    trade,
    pay
  }
})
